<div class="grid_9">

<?php if($this->session->flashdata('type')): ?>
	<div class="<?php echo $this->session->flashdata('type')?>"><?php echo $this->session->flashdata('msg')?></div>
<?php endif; ?>

<div class="inner-border">
<h6>Add Semester</h6>
	<?php 
		$formAttrib = array('id' => 'addsemester', 'class' => 'admin-form');
		$semesterAttrib = array('name' => 'semestername', 'value' => '', 'id' => 'semestername');
		
		echo form_open('post/add_semester', $formAttrib);
		
	?>
    
    <div class="input-block">
    <?php
		echo form_label('Semester Name:', 'semestername');
		echo form_input($semesterAttrib);
		echo form_submit('add', 'Add');
	?>
    </div>
<a href="<?php echo site_url('admin/semester') ?>" class="btn">Back</a>	
</div>
</div>